This directory contains all the materials necessary to replicate the results in Wayne and Ying's "Gateways to White Nationalism: Leaders’ Online Rhetoric and Follower Engagement." The two main datasets were collected from social media, twitter and gab, and we have replaced all personal identifiers with randomly generated user IDs to protect the individuals included in our study.

*** Directory Structure ***

1. Datasets Folder:
- This folder contains data for replicating the results in both the article and appendix.

2. Code Folder:
- This folder contains all the code required to replicate the empirical results. Specifically:
-- Descriptive.R-- Dictionary.R-- Distribution.r-- Reposts.R-- RepostsRobust7plusfollowers.R-- Validation.r-- VARbytheme.r-- VARbythemeRobust7plusfollowers.r-- VARbythemeRobustlags.r-- VARpooled.r-- VARpooledRobust7plusfollowers.r-- VARpooledRobustbottom25.r

3. Codebook Folder:
- Contains codebooks for the datasets.

4. Plots Folder:
- This folder includes all the figures in the paper and appendix, which can be generated directly using the replication code.


*** List of Empirical Results and Corresponding Replication Code: ***

1. Main Paper:
- Figure 1: Descriptive.R 
- Figure 2: VARpooled.R
- Figure 3: Reposts.R
- Figure 4: Reposts.R
- Figure 5: VARbytheme.R
- Figure 6: VARbythemeRobustlags.R
- Figure 7: Descriptive.R 

- Table 1: Descriptive.R 
- Table 2: Descriptive.R 
- Table 3: Descriptive.R 

2. Appendix:
- Figure A1: Distribution.R
- Figure A2: Descriptive.R 
- Figure A3: Descriptive.R 
- Figure A4: Descriptive.R
- Figure A5: Descriptive.R
- Figure A6: VARpooled.R
- Figure A7: VARpooled.R
- Figure A8: VARpooledRobust7plusfollowers.R
- Figure A9: VARpooledRobustbottom25.R 
- Figure A10: RepostsRobust7plusfollowers.R
- Figure A11: RepostsRobust7plusfollowers.R
- Figure A12: VARbythemeRobustlags.R
- Figure A13: VARbythemeRobust7plusfollowers.R
- Figure A14: VARbytheme.R

- Table A1: Not empirical results, hand collected by research assistants 
- Table A2: Descriptive.R 
- Table A3: Descriptive.R 
- Table A4: Dictionary.R
- Table A5: Validation.R
- Table A6: Validation.R
- Table A7: Not empirical results, for illustration purposes only
- Table A8: Descriptive.R 
- Table A9: Descriptive.R 
- Table A10: VARpooled.R
- Table A11: Reposts.R
- Table A12: Reposts.R
- Table A13: RepostsRobust7plusfollowers.R
- Table A14: VARbytheme.R
- Table A15: VARbytheme.R


*** System Information ***
Operation system: MacOS Sonoma 14.6.1
R version: 4.5.1 (2025-06-13) -- "Great Square Root"
